var BI = (function(undefined){
	return {	
		namespace: function(namspaceName){
			if (!!namspaceName){
				var elements = namspaceName.split('.');
				
				if (!BI[elements[0]]){
					BI[elements[0]] = {};
				}
				
				var current = BI[elements[0]]; 
				
				for(var i = 1; i < elements.length; i++){
					if (!current[elements[i]]){
						current[elements[i]] = {};
					}
					current = current[elements[i]];
				}
			}
		},
		
		log: function(logMessage){
			if (!!console){
				console.log(logMessage);
			}
		}
	};
})(); 